{template "nheader.html"}
<div class="container-fluid larry-wrapper">

	<section class="panel panel-padding">
		<form class="layui-form" action="" method="post">
			<div class="layui-form">
				<div class="layui-inline">
					<div class="layui-input-inline">
						<input class="layui-input" name="kw" value="{$username}" placeholder="{dr_lang('搜索用户名')}">
					</div>
				</div>
				<div class="layui-inline">
					<button class="layui-btn">{dr_lang('搜索')}</button>
				</div>
			</div>
		</form>
	</section>

	<section class="panel panel-padding">

		<div class="layui-form">
			<div class="table-responsive mytable">
				<form action="" method="post">
					<table class="layui-table lay-even">
						<thead>
						<tr>
							<th width="90" align="left">{dr_lang('用户')}</th>
							<th width="90" align="left">{dr_lang('控制器')}</th>
							<th width="70" align="left">{dr_lang('方法')}</th>
							<th width="230" align="left">{dr_lang('动作')}</th>
							<th width="133" align="left">ip</th>
							<th width="131" align="left">{dr_lang('时间')}</th>
							<th align="left">{dr_lang('地址')}</th>
						</tr>
						</thead>
						<tbody>
						{loop $list $t}
						<tr>
							<td align="left"><a href="{dr_url('log/index', array('username'=>$t['username']))}">{$t['username']}</a></td>
							<td align="left">{$t['controller']}</td>
							<td align="left">{$t['action']}</td>
							<td align="left">{$t['options']}</td>
							<td align="left"><a href="http://www.baidu.com/baidu?wd={$t['ip']}" target=_blank>{$t['ip']}</a></td>
							<td align="left">{date(TIME_FORMAT, $t['optiontime'])}</td>
							<td align="left">{$t['param']}</td>
						</tr>
						{/loop}
					</table>

				</form>
			</div>
		</div>


		<div class="text-center" id="page">
			<div class="layui-box layui-laypage layui-laypage-default">
				{$pagelist}
			</div>
		</div>

	</section>

</div>


</body>
<script type="text/javascript" src="{ADMIN_THEME}js/layui/layui.js"></script>
<script>
	layui.config({
		base: '{ADMIN_THEME}js/'
	}).extend({
		echarts: 'lib/echarts',
		ajax: 'jqmodules/ajax',
		modal: 'jqmodules/modal'
	}).use(['main', 'echart']);
</script>
</html>